#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger,AuthorizatType) {
    AuthorizatTypePhoto = 0,  
    AuthorizatTypeCamera,     
    AuthorizatTypeAudio,      
    AuthorizatTypeRessBook,   
    AuthorizatTypeReminder,   
    AuthorizatTypeEvent,      
    AuthorizatTypeNotication, 
    AuthorizatTypeLocation    
};
@interface AuthorizatModel : NSObject
@property (nonatomic,strong)NSString *titleStr;   
@property (nonatomic,strong)NSString *subtitleStr;
@property (nonatomic,strong)NSString *imageName;  
@property (nonatomic,assign)BOOL     isOpen;
@property (nonatomic,assign)AuthorizatType type;
- (instancetype)initWithTitle:(NSString *)title subTitle:(NSString *)subTitle image:(NSString *)imgName type:(AuthorizatType)type;
- (void)openAuthorizatWithBlock:(void(^)(BOOL open))block;
- (void)checkAuthorizat;
@end
